package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞标项目日志对象 tb_project_log
 *
 * @author ruoyi
 * @date 2024-09-04
 */
public class ProjectLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * tag
     */
    @Excel(name = "tag")
    private Long tag;

    /**
     * 竞标项目id
     */
    @Excel(name = "竞标项目id")
    private Long projectId;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    private BigDecimal allMoney;

    /**
     * 竞标状态 0已竞标 1竞标失败 2竞标成功 3已作废
     */
    @Excel(name = "竞标状态 0已竞标 1竞标失败 2竞标成功 3已作废")
    private Integer status;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    /**
     * xgcs
     */
    @Excel(name = "xgcs")
    private Long xgcs;

    /**
     * 项目标题
     */
    private String projectName;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 项目类目
     */
    @Excel(name = "项目类目")
    private String projectCate;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String companyName;;

    /**
     * 联系人
     */
    private String leader;
    /**
     * 联系电话
     */
    private String phone;

    /**
     * 日期_查询用
     */
    private String week;

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProjectCate() {
        return projectCate;
    }

    public void setProjectCate(String projectCate) {
        this.projectCate = projectCate;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTag(Long tag) {
        this.tag = tag;
    }

    public Long getTag() {
        return tag;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setAllMoney(BigDecimal allMoney) {
        this.allMoney = allMoney;
    }

    public BigDecimal getAllMoney() {
        return allMoney;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setXgcs(Long xgcs) {
        this.xgcs = xgcs;
    }

    public Long getXgcs() {
        return xgcs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tag", getTag())
                .append("projectId", getProjectId())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("allMoney", getAllMoney())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .append("xgcs", getXgcs())
                .toString();
    }
}
